package com.zhouyu.exampledesignmoudle.decorator;

/**
 * @Description:准备接受附加责任的类，是具体的抽象构件
 */
public class Monkey implements TheGreatestSage {
    private String skin = "我本身是一直猴子，就是一身毛";

    public String getSkin() {
        return skin;
    }

    void setSkin(String skin) {
        this.skin = skin;
    }

    @Override
    public void display() {
        System.out.println(skin);
    }
}
